#encoding:utf8
import os
from lib import *

def run():
    servers     = [ r'\\10.12.0.111', 'game', 'epiegame',
                    r'\\10.12.0.110', 'game', 'epiegame',
                    # r'\\10.12.0.10', 'game', 'epiegame', # 这个是中转服务器，不要用这个密码登陆
                    # r'\\10.1.31.20', 'fengniaoprinter', 'epiegame',
                    # r'\\172.16.11.110', 'game', 'epiegame',
                  ]
    
    for index in range(0, len(servers), 3):
        remotename      = servers[index]
        user            = servers[index +1]
        password        = servers[index + 2]
        wsh.login(remotename, user, password)
        

if __name__=='__main__':
    run()
